{template 'include/header'}

<div class="container container-fill" style="background:url(<?php echo MODULE_URL;?>/template/mobile/img/inbg.png);">

<div class="hd" style="background-size:100%;width:100%; box-sizing:border-box; border:none !important;">
    <div class="clear" style="height:300px;background:url(<?php echo MODULE_URL;?>/template/mobile/img/share.png) no-repeat center top;background-size:400px;">
    	<div style="text-align:center"><img src="{$user_photo}" style="margin:80px auto 0;width:120px;border-radius:60px;border-top-left:7px solid #b08c70;border-top-right:7px solid #b08c70;"/></div>
    	<div style="text-align:center;margin-top:10px;">
    		<p style="color:#b2330c;">{$user_name}邀您一起捐</p>
    		<p>“{$kouhao}”</p>
    	</div>
	</div>
</div>
     
    <div style="margin: 30px 10px 0; font-size:14px; color:#2b2b2b;">
    	<div style="text-align:center;margin-top:-50px;"><img src="<?php echo MODULE_URL;?>/template/mobile/img/mumu.png" style="width:150px;z-index:100;"/></div>
    	<div class="" style="border:1px solid #9d9b9a;overflow:hidden;padding:90px 10px 10px;background:#b2b2b2;margin-top:-87px;border-radius:6px;">
    		<p style="color:#4c4542;margin-top:5px;text-align:center">捐款目标：<font style="color:#ff6a0e;">{$goal}</font>元</p>
    	</div>
		<div class="clear"></div>
    </div>
     <div style="margin: 30px 10px 10px; font-size:14px; color:#2b2b2b;border-radius:6px;">
        <div style="height:50px;line-height:50px;border:1px solid #9d9b9a;border-bottom:0px solid #9d9b9a;background:#b2b2b2;padding:0 10px;">捐助的项目  <p style="float:right">还需要募捐：<font style="color:#ff6a0e;">{php echo $project['pro_goal']-$fund_totals['total'];}</font>元</p></div>
        <div class="" style="border:1px solid #9d9b9a;padding:10px 10px;background:#b2b2b2;">
            <img src="{$_W['attachurl']}{$project['pro_feature']}" alt="" style="width: 100px;float:left;margin-right:20px;border-radius:5px"/>
            <h2 style="font-size:15px;margin:0;">{$project['pro_name']}</h2>
            <p style="color:#a5a09d;margin-top:5px;">{$project['pro_short']}</p>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </div>
   <div class="clear"></div>
   
   
<style type='text/css'>
	.sel { background:#33cdd6; color:#fff;}
	.nosel { background:#fff;color:#000}
</style>



<script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>

<!--底部logo和版权-->

{php echo register_jssdk(false);}
<script type="text/javascript">
    initShare();
    function initShare(){
        wx.ready(function () {
            sharedata = {
                title: "{$project['pro_name']}",
                desc: "{php echo trim($kouhao);}",
                link: "{php echo $_W['siteroot'].'app/'.$this->createMobileUrl('share', array('pro_id'=>$project['pro_id'], 'mem_id'=>$user['mem_id'],'goal'=>$goal,'kouhao'=>$kouhao));}",
                imgUrl: "{$_W['attachurl']}{$project['pro_feature']}",
                success: function(){

                },
                cancel: function(){
                    //alert("分享失败，可能是网络问题，一会儿再试试？");
                }
            };
           
            wx.onMenuShareAppMessage(sharedata);
            wx.onMenuShareTimeline(sharedata);
        });
    }
</script>
            
</body>
</html>
